|
![](/i/fill.gif) |
No-one said that a compression scheme should use just *one* compression
algorithm.
The simples case of using two algorithms is: First try compressing
with the compression algorithm, and if the result is bigger than the
original, just store the raw image.
This way some of the images will be smaller than the original and some
will be equal. None of the images will be larger than the original.
This way the overall average compression rate will be higher than 1.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |